﻿<phone:PhoneApplicationPage
    x:Class="WhallaToolkit.ShareServices.Brokers.Facebook.FacebookConnect"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="False" x:ClassModifier="internal">
	<phone:PhoneApplicationPage.Resources>
		<Storyboard x:Name="CloseLoadingIndicator">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LoadingIndicator">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="LoadingIndicator">
				<DiscreteObjectKeyFrame KeyTime="0">
					<DiscreteObjectKeyFrame.Value>
						<Visibility>Visible</Visibility>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
				<DiscreteObjectKeyFrame KeyTime="0:0:0.4">
					<DiscreteObjectKeyFrame.Value>
						<Visibility>Collapsed</Visibility>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
			</ObjectAnimationUsingKeyFrames>
		</Storyboard>
	</phone:PhoneApplicationPage.Resources>

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <phone:WebBrowser Name="BrowserControl" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsScriptEnabled="True"/>
        <Grid x:Name="LoadingIndicator" Background="#FF3C5A98">
        	<StackPanel Margin="0,298,0,244" Orientation="Vertical" VerticalAlignment="Center">
        		<!--<Image HorizontalAlignment="Center" VerticalAlignment="Center" Source="" Width="173" Height="173"/>-->
        		<!--<Image HorizontalAlignment="Center" VerticalAlignment="Center" Source="" Width="173" Height="173"/>-->
        		<Canvas x:Name="Facebook__Converted_" HorizontalAlignment="Center" Height="48.52" UseLayoutRounding="False" VerticalAlignment="Top" Width="236.934" Margin="0,0,0,18">
        			<Canvas x:Name="Layer_1" Height="48.519" Canvas.Left="0" Canvas.Top="-0.52" Width="236.934">
        				<Path Data="F1M189.741,23.58C186.364,23.58,185.192,25.424,185.192,27.718L185.192,36.096C185.192,38.396 186.364,40.244 189.741,40.244 193.114,40.244 194.307,38.396 194.307,36.096L194.307,27.718C194.307,25.424,193.114,23.58,189.741,23.58 M236.934,48.072L226.155,48.072 217.042,32.882 217.042,48.072 207.098,48.072 207.098,2.488 217.042,0.832 217.042,30.178 226.155,15.75 236.934,15.75 226.983,31.494z M204.249,35.136C204.249,41.89 201.454,48.44 189.776,48.44 178.087,48.44 175.241,41.89 175.241,35.136L175.241,28.614C175.241,21.858 178.087,15.306 189.776,15.306 201.454,15.306 204.249,21.858 204.249,28.614z M172.405,35.136C172.405,41.89 169.612,48.44 157.93,48.44 146.241,48.44 143.397,41.89 143.397,35.136L143.397,28.614C143.397,21.858 146.241,15.306 157.93,15.306 169.612,15.306 172.405,21.858 172.405,28.614z M140.536,34.964C140.536,42.794 138.296,48.504 124.721,48.504 119.823,48.504 116.945,48.072 111.534,47.24L111.534,2.488 121.475,0.832 121.475,16.486C123.624,15.688 126.405,15.284 128.936,15.284 138.882,15.284 140.536,19.736 140.536,26.89z M108.208,34.81L89.973,34.81 89.973,35.478C89.973,39.26 91.321,40.244 95.777,40.244 99.784,40.244 102.229,40.05 107.376,39.162L107.376,47.24C102.412,48.254 99.826,48.52 94.952,48.52 84.275,48.52 80.029,42.912 80.029,34.81L80.029,28.176C80.029,21.09 83.181,15.284 94.12,15.284 105.063,15.284 108.208,21.022 108.208,28.176z M77.087,24.642C71.929,23.76 70.449,23.564 67.967,23.564 63.509,23.564 62.162,24.55 62.162,28.326L62.162,35.478C62.162,39.26 63.509,40.244 67.967,40.244 70.449,40.244 71.929,40.05 77.087,39.162L77.087,47.24C72.569,48.254 69.626,48.52 67.139,48.52 56.461,48.52 52.219,42.912 52.219,34.81L52.219,29.008C52.219,20.9 56.461,15.284 67.139,15.284 69.626,15.284 72.569,15.552 77.087,16.566z M48.903,48.136L40.615,48.136 40.257,46.042C36.471,48.136 33.093,48.476 30.866,48.476 24.786,48.476 21.551,44.42 21.551,38.81 21.551,32.196 25.326,29.834 32.08,29.834L38.954,29.834 38.954,28.404C38.954,25.026,38.567,24.036,33.366,24.036L24.863,24.036 25.695,15.75 34.989,15.75C46.401,15.75,48.903,19.352,48.903,28.472z M14.914,48.072L4.971,48.072 4.971,24.036 0,24.036 0,15.75 4.971,15.75 4.971,10.778C4.971,4.02,7.777,0.001,15.746,0.001L22.383,0.001 22.383,8.286 18.237,8.286C15.133,8.286,14.927,9.444,14.927,11.604L14.914,15.75 22.431,15.75 21.551,24.036 14.914,24.036z M157.897,23.58C154.514,23.58,153.343,25.424,153.343,27.718L153.343,36.096C153.343,38.396 154.514,40.244 157.897,40.244 161.27,40.244 162.452,38.396 162.452,36.096L162.452,27.718C162.452,25.424,161.27,23.58,157.897,23.58 M31.494,38.682C31.494,40.494 32.351,41.436 34.242,41.436 36.273,41.436 37.473,40.776 38.954,40.096L38.954,36.468 34.517,36.468C32.416,36.468,31.494,36.856,31.494,38.682 M94.12,22.744C90.742,22.744,89.973,24.596,89.973,26.89L89.973,28.176 98.265,28.176 98.265,26.89C98.265,24.596,97.494,22.744,94.12,22.744 M126.448,23.58C124.419,23.58,122.958,24.244,121.475,24.92L121.475,40.228C122.897,40.368 123.708,40.368 125.057,40.368 129.927,40.368 130.593,38.14 130.593,35.032L130.593,27.718C130.593,25.424,129.831,23.58,126.448,23.58" Fill="White" Height="48.519" Canvas.Left="0" Canvas.Top="0" Width="236.934"/>
        			</Canvas>
        		</Canvas>
    <!--<Image HorizontalAlignment="Center" VerticalAlignment="Center" Source="" Width="173" Height="173"/>-->
        		<ProgressBar Height="10" VerticalAlignment="Top" Background="{x:Null}" IsIndeterminate="True" Foreground="White"/>
        	</StackPanel>
        </Grid>
    </Grid>

</phone:PhoneApplicationPage>